<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="zh">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
<meta name="generator" content="Doxygen 1.10.0"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>SARibbon: SARibbonBarLayout类 参考</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<script type="text/javascript" src="clipboard.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript" src="cookie.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
<link href="doxygen-awesome.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr id="projectrow">
  <td id="projectlogo"><img alt="Logo" src="SA-logo.png"/></td>
  <td id="projectalign">
   <div id="projectname">SARibbon<span id="projectnumber">&#160;2.4.2</span>
   </div>
   <div id="projectbrief">SARibbon wiki</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- 制作者 Doxygen 1.10.0 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
var searchBox = new SearchBox("searchBox", "search/",'.html');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function() {
  initMenu('',true,false,'search.php','搜索');
  $(function() { init_search(); });
});
/* @license-end */
</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function(){initNavTree('class_s_a_ribbon_bar_layout.html',''); initResizable(); });
/* @license-end */
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<div id="MSearchResults">
<div class="SRPage">
<div id="SRIndex">
<div id="SRResults"></div>
<div class="SRStatus" id="Loading">载入中...</div>
<div class="SRStatus" id="Searching">搜索中...</div>
<div class="SRStatus" id="NoMatches">未找到</div>
</div>
</div>
</div>
</div>

<div class="header">
  <div class="summary">
<a href="#nested-classes">类</a> &#124;
<a href="#pub-methods">Public 成员函数</a> &#124;
<a href="#pro-methods">Protected 成员函数</a> &#124;
<a href="class_s_a_ribbon_bar_layout-members.html">所有成员列表</a>  </div>
  <div class="headertitle"><div class="title">SARibbonBarLayout类 参考</div></div>
</div><!--header-->
<div class="contents">
<div class="dynheader">
类 SARibbonBarLayout 继承关系图:</div>
<div class="dyncontent">
 <div class="center">
  <img src="class_s_a_ribbon_bar_layout.png" alt=""/>
 </div></div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="nested-classes" name="nested-classes"></a>
类</h2></td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_s_a_ribbon_bar_layout_1_1_private_data.html">PrivateData</a></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pub-methods" name="pub-methods"></a>
Public 成员函数</h2></td></tr>
<tr class="memitem:a5b513bb4cf3cad4d731529eddc419626" id="r_a5b513bb4cf3cad4d731529eddc419626"><td class="memItemLeft" align="right" valign="top"><a id="a5b513bb4cf3cad4d731529eddc419626" name="a5b513bb4cf3cad4d731529eddc419626"></a>
&#160;</td><td class="memItemRight" valign="bottom"><b>SARibbonBarLayout</b> (<a class="el" href="class_s_a_ribbon_bar.html">SARibbonBar</a> *parent)</td></tr>
<tr class="separator:a5b513bb4cf3cad4d731529eddc419626"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7256d31137402ab5e0de909e732c2fcc" id="r_a7256d31137402ab5e0de909e732c2fcc"><td class="memItemLeft" align="right" valign="top"><a id="a7256d31137402ab5e0de909e732c2fcc" name="a7256d31137402ab5e0de909e732c2fcc"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>addItem</b> (QLayoutItem *item) override</td></tr>
<tr class="separator:a7256d31137402ab5e0de909e732c2fcc"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2947bb73144385639b2404a1714ac058" id="r_a2947bb73144385639b2404a1714ac058"><td class="memItemLeft" align="right" valign="top"><a id="a2947bb73144385639b2404a1714ac058" name="a2947bb73144385639b2404a1714ac058"></a>
QLayoutItem *&#160;</td><td class="memItemRight" valign="bottom"><b>itemAt</b> (int index) const override</td></tr>
<tr class="separator:a2947bb73144385639b2404a1714ac058"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aac32914e0f8b0abf4e884a2d555b49cf" id="r_aac32914e0f8b0abf4e884a2d555b49cf"><td class="memItemLeft" align="right" valign="top"><a id="aac32914e0f8b0abf4e884a2d555b49cf" name="aac32914e0f8b0abf4e884a2d555b49cf"></a>
QLayoutItem *&#160;</td><td class="memItemRight" valign="bottom"><b>takeAt</b> (int index) override</td></tr>
<tr class="separator:aac32914e0f8b0abf4e884a2d555b49cf"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0fff39f53acd14a9d6945f3706913caa" id="r_a0fff39f53acd14a9d6945f3706913caa"><td class="memItemLeft" align="right" valign="top"><a id="a0fff39f53acd14a9d6945f3706913caa" name="a0fff39f53acd14a9d6945f3706913caa"></a>
int&#160;</td><td class="memItemRight" valign="bottom"><b>count</b> () const override</td></tr>
<tr class="separator:a0fff39f53acd14a9d6945f3706913caa"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aaa7ae82f735d55961348c8e70788e837" id="r_aaa7ae82f735d55961348c8e70788e837"><td class="memItemLeft" align="right" valign="top"><a id="aaa7ae82f735d55961348c8e70788e837" name="aaa7ae82f735d55961348c8e70788e837"></a>
QSize&#160;</td><td class="memItemRight" valign="bottom"><b>sizeHint</b> () const override</td></tr>
<tr class="separator:aaa7ae82f735d55961348c8e70788e837"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0e3c7508a7dc7d8aeeef345676093494" id="r_a0e3c7508a7dc7d8aeeef345676093494"><td class="memItemLeft" align="right" valign="top"><a id="a0e3c7508a7dc7d8aeeef345676093494" name="a0e3c7508a7dc7d8aeeef345676093494"></a>
QSize&#160;</td><td class="memItemRight" valign="bottom"><b>minimumSize</b> () const override</td></tr>
<tr class="separator:a0e3c7508a7dc7d8aeeef345676093494"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2de15a52513412240aa55216c0094310" id="r_a2de15a52513412240aa55216c0094310"><td class="memItemLeft" align="right" valign="top"><a id="a2de15a52513412240aa55216c0094310" name="a2de15a52513412240aa55216c0094310"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>setGeometry</b> (const QRect &amp;rect) override</td></tr>
<tr class="separator:a2de15a52513412240aa55216c0094310"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a40b45191b6b0f12134eaff030eacb40c" id="r_a40b45191b6b0f12134eaff030eacb40c"><td class="memItemLeft" align="right" valign="top"><a id="a40b45191b6b0f12134eaff030eacb40c" name="a40b45191b6b0f12134eaff030eacb40c"></a>
virtual void&#160;</td><td class="memItemRight" valign="bottom"><b>doLayout</b> ()</td></tr>
<tr class="separator:a40b45191b6b0f12134eaff030eacb40c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7445355ea0dba52c48184c5fa05a03e8" id="r_a7445355ea0dba52c48184c5fa05a03e8"><td class="memItemLeft" align="right" valign="top"><a id="a7445355ea0dba52c48184c5fa05a03e8" name="a7445355ea0dba52c48184c5fa05a03e8"></a>
bool&#160;</td><td class="memItemRight" valign="bottom"><b>isLooseStyle</b> () const</td></tr>
<tr class="separator:a7445355ea0dba52c48184c5fa05a03e8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3143a96bc0968f66ef0c1125c477c36c" id="r_a3143a96bc0968f66ef0c1125c477c36c"><td class="memItemLeft" align="right" valign="top"><a id="a3143a96bc0968f66ef0c1125c477c36c" name="a3143a96bc0968f66ef0c1125c477c36c"></a>
bool&#160;</td><td class="memItemRight" valign="bottom"><b>isCompactStyle</b> () const</td></tr>
<tr class="separator:a3143a96bc0968f66ef0c1125c477c36c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8ef5aa2796fa6ae189c4fda6526daa0b" id="r_a8ef5aa2796fa6ae189c4fda6526daa0b"><td class="memItemLeft" align="right" valign="top"><a id="a8ef5aa2796fa6ae189c4fda6526daa0b" name="a8ef5aa2796fa6ae189c4fda6526daa0b"></a>
const QRect &amp;&#160;</td><td class="memItemRight" valign="bottom"><b>titleRect</b> () const</td></tr>
<tr class="separator:a8ef5aa2796fa6ae189c4fda6526daa0b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a37d1f2a58ca16e23c1f0ab7ae0cc860f" id="r_a37d1f2a58ca16e23c1f0ab7ae0cc860f"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#a37d1f2a58ca16e23c1f0ab7ae0cc860f">calcMinTabBarWidth</a> () const</td></tr>
<tr class="memdesc:a37d1f2a58ca16e23c1f0ab7ae0cc860f"><td class="mdescLeft">&#160;</td><td class="mdescRight">计算tabbar的最小尺寸  <br /></td></tr>
<tr class="separator:a37d1f2a58ca16e23c1f0ab7ae0cc860f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af69f77f0e7b746bdb7ff8754a6e90af5" id="r_af69f77f0e7b746bdb7ff8754a6e90af5"><td class="memItemLeft" align="right" valign="top"><a id="af69f77f0e7b746bdb7ff8754a6e90af5" name="af69f77f0e7b746bdb7ff8754a6e90af5"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>resetSize</b> ()</td></tr>
<tr class="separator:af69f77f0e7b746bdb7ff8754a6e90af5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:abf93acd0c806380dedfddd8015eb084d" id="r_abf93acd0c806380dedfddd8015eb084d"><td class="memItemLeft" align="right" valign="top"><a id="abf93acd0c806380dedfddd8015eb084d" name="abf93acd0c806380dedfddd8015eb084d"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>layoutTitleRect</b> ()</td></tr>
<tr class="separator:abf93acd0c806380dedfddd8015eb084d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac1d51979578b43f56db1483bb34cf733" id="r_ac1d51979578b43f56db1483bb34cf733"><td class="memItemLeft" align="right" valign="top"><a id="ac1d51979578b43f56db1483bb34cf733" name="ac1d51979578b43f56db1483bb34cf733"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>layoutStackedContainerWidget</b> ()</td></tr>
<tr class="separator:ac1d51979578b43f56db1483bb34cf733"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a28f19a2a5831a9161b9f6df1495f974c" id="r_a28f19a2a5831a9161b9f6df1495f974c"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#a28f19a2a5831a9161b9f6df1495f974c">layoutCategory</a> ()</td></tr>
<tr class="memdesc:a28f19a2a5831a9161b9f6df1495f974c"><td class="mdescLeft">&#160;</td><td class="mdescRight">让category重新布局  <br /></td></tr>
<tr class="separator:a28f19a2a5831a9161b9f6df1495f974c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7f6b8a7f2b1a09f085f1ed8cb472cbc0" id="r_a7f6b8a7f2b1a09f085f1ed8cb472cbc0"><td class="memItemLeft" align="right" valign="top"><a id="a7f6b8a7f2b1a09f085f1ed8cb472cbc0" name="a7f6b8a7f2b1a09f085f1ed8cb472cbc0"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>setSystemButtonSize</b> (const QSize &amp;size)</td></tr>
<tr class="separator:a7f6b8a7f2b1a09f085f1ed8cb472cbc0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5a7195da1e1b4755388c71449e94ef81" id="r_a5a7195da1e1b4755388c71449e94ef81"><td class="memItemLeft" align="right" valign="top"><a id="a5a7195da1e1b4755388c71449e94ef81" name="a5a7195da1e1b4755388c71449e94ef81"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>setTabOnTitle</b> (bool on)</td></tr>
<tr class="separator:a5a7195da1e1b4755388c71449e94ef81"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad2cbb793956c16a7491080ee4d2ce4f9" id="r_ad2cbb793956c16a7491080ee4d2ce4f9"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#ad2cbb793956c16a7491080ee4d2ce4f9">isTabOnTitle</a> () const</td></tr>
<tr class="memdesc:ad2cbb793956c16a7491080ee4d2ce4f9"><td class="mdescLeft">&#160;</td><td class="mdescRight">设置tab在title上面，这样可以省略title区域  <br /></td></tr>
<tr class="separator:ad2cbb793956c16a7491080ee4d2ce4f9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1cd494a5db6b10a1e678675e2b5bfc78" id="r_a1cd494a5db6b10a1e678675e2b5bfc78"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#a1cd494a5db6b10a1e678675e2b5bfc78">minimumModeMainBarHeight</a> () const</td></tr>
<tr class="memdesc:a1cd494a5db6b10a1e678675e2b5bfc78"><td class="mdescLeft">&#160;</td><td class="mdescRight">最小模式下的高度  <br /></td></tr>
<tr class="separator:a1cd494a5db6b10a1e678675e2b5bfc78"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3f975a980ee4f93067e468b1b8ac6d24" id="r_a3f975a980ee4f93067e468b1b8ac6d24"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#a3f975a980ee4f93067e468b1b8ac6d24">normalModeMainBarHeight</a> () const</td></tr>
<tr class="memdesc:a3f975a980ee4f93067e468b1b8ac6d24"><td class="mdescLeft">&#160;</td><td class="mdescRight">正常模式下的高度  <br /></td></tr>
<tr class="separator:a3f975a980ee4f93067e468b1b8ac6d24"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6a382d42074c41b18807d0a13c9c42c1" id="r_a6a382d42074c41b18807d0a13c9c42c1"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#a6a382d42074c41b18807d0a13c9c42c1">tabBarHeight</a> () const</td></tr>
<tr class="memdesc:a6a382d42074c41b18807d0a13c9c42c1"><td class="mdescLeft">&#160;</td><td class="mdescRight">tabBar的高度  <br /></td></tr>
<tr class="separator:a6a382d42074c41b18807d0a13c9c42c1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a69930ff2702a2f5d01776fdfabe659d9" id="r_a69930ff2702a2f5d01776fdfabe659d9"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#a69930ff2702a2f5d01776fdfabe659d9">setTabBarHeight</a> (int h)</td></tr>
<tr class="memdesc:a69930ff2702a2f5d01776fdfabe659d9"><td class="mdescLeft">&#160;</td><td class="mdescRight">设置tabBar的高度  <br /></td></tr>
<tr class="separator:a69930ff2702a2f5d01776fdfabe659d9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a23a931601012e42d7d74707d29a584a2" id="r_a23a931601012e42d7d74707d29a584a2"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#a23a931601012e42d7d74707d29a584a2">titleBarHeight</a> () const</td></tr>
<tr class="memdesc:a23a931601012e42d7d74707d29a584a2"><td class="mdescLeft">&#160;</td><td class="mdescRight">返回标题栏高度  <br /></td></tr>
<tr class="separator:a23a931601012e42d7d74707d29a584a2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5a3eb39adadd997febb302b413a8239f" id="r_a5a3eb39adadd997febb302b413a8239f"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#a5a3eb39adadd997febb302b413a8239f">setTitleBarHeight</a> (int h)</td></tr>
<tr class="memdesc:a5a3eb39adadd997febb302b413a8239f"><td class="mdescLeft">&#160;</td><td class="mdescRight">设置标题栏的高度  <br /></td></tr>
<tr class="separator:a5a3eb39adadd997febb302b413a8239f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a64b765621914506fca97e41b910f2533" id="r_a64b765621914506fca97e41b910f2533"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#a64b765621914506fca97e41b910f2533">categoryHeight</a> () const</td></tr>
<tr class="memdesc:a64b765621914506fca97e41b910f2533"><td class="mdescLeft">&#160;</td><td class="mdescRight">category的高度  <br /></td></tr>
<tr class="separator:a64b765621914506fca97e41b910f2533"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a29bb46a56706132044866eb6134dd55b" id="r_a29bb46a56706132044866eb6134dd55b"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#a29bb46a56706132044866eb6134dd55b">setCategoryHeight</a> (int h)</td></tr>
<tr class="memdesc:a29bb46a56706132044866eb6134dd55b"><td class="mdescLeft">&#160;</td><td class="mdescRight">设置category的高度  <br /></td></tr>
<tr class="separator:a29bb46a56706132044866eb6134dd55b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa576d4e07a8d9f8c583973aab1ff1ceb" id="r_aa576d4e07a8d9f8c583973aab1ff1ceb"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#aa576d4e07a8d9f8c583973aab1ff1ceb">pannelTitleHeight</a> () const</td></tr>
<tr class="memdesc:aa576d4e07a8d9f8c583973aab1ff1ceb"><td class="mdescLeft">&#160;</td><td class="mdescRight"><a class="el" href="#aa576d4e07a8d9f8c583973aab1ff1ceb" title="SARibbonBarLayout::pannelTitleHeight">SARibbonBarLayout::pannelTitleHeight</a>  <br /></td></tr>
<tr class="separator:aa576d4e07a8d9f8c583973aab1ff1ceb"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a53fc6debab105ad0659b1cbfa02ea753" id="r_a53fc6debab105ad0659b1cbfa02ea753"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#a53fc6debab105ad0659b1cbfa02ea753">setPannelTitleHeight</a> (int h)</td></tr>
<tr class="memdesc:a53fc6debab105ad0659b1cbfa02ea753"><td class="mdescLeft">&#160;</td><td class="mdescRight">设置pannel的高度  <br /></td></tr>
<tr class="separator:a53fc6debab105ad0659b1cbfa02ea753"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a767722d9814846315036cc65c5087add" id="r_a767722d9814846315036cc65c5087add"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_s_a_ribbon_bar.html">SARibbonBar</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#a767722d9814846315036cc65c5087add">ribbonBar</a> () const</td></tr>
<tr class="memdesc:a767722d9814846315036cc65c5087add"><td class="mdescLeft">&#160;</td><td class="mdescRight">tab是否在title上面  <br /></td></tr>
<tr class="separator:a767722d9814846315036cc65c5087add"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac7b43dab1d65c215e8e4e6e7967a459c" id="r_ac7b43dab1d65c215e8e4e6e7967a459c"><td class="memItemLeft" align="right" valign="top"><a id="ac7b43dab1d65c215e8e4e6e7967a459c" name="ac7b43dab1d65c215e8e4e6e7967a459c"></a>
<a class="el" href="class_s_a_ribbon_tab_bar.html">SARibbonTabBar</a> *&#160;</td><td class="memItemRight" valign="bottom"><b>ribbonTabBar</b> () const</td></tr>
<tr class="separator:ac7b43dab1d65c215e8e4e6e7967a459c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aca8e2d8105ece8104320e642cf0674bb" id="r_aca8e2d8105ece8104320e642cf0674bb"><td class="memItemLeft" align="right" valign="top"><a id="aca8e2d8105ece8104320e642cf0674bb" name="aca8e2d8105ece8104320e642cf0674bb"></a>
<a class="el" href="class_s_a_ribbon_stacked_widget.html">SARibbonStackedWidget</a> *&#160;</td><td class="memItemRight" valign="bottom"><b>stackedContainerWidget</b> () const</td></tr>
<tr class="separator:aca8e2d8105ece8104320e642cf0674bb"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3b28863668e7abceeac7b7f75c8cff54" id="r_a3b28863668e7abceeac7b7f75c8cff54"><td class="memItemLeft" align="right" valign="top"><a id="a3b28863668e7abceeac7b7f75c8cff54" name="a3b28863668e7abceeac7b7f75c8cff54"></a>
<a class="el" href="class_s_a_ribbon_quick_access_bar.html">SARibbonQuickAccessBar</a> *&#160;</td><td class="memItemRight" valign="bottom"><b>quickAccessBar</b> () const</td></tr>
<tr class="separator:a3b28863668e7abceeac7b7f75c8cff54"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa896e874ee74a719c54a28f16222fd9c" id="r_aa896e874ee74a719c54a28f16222fd9c"><td class="memItemLeft" align="right" valign="top"><a id="aa896e874ee74a719c54a28f16222fd9c" name="aa896e874ee74a719c54a28f16222fd9c"></a>
<a class="el" href="class_s_a_ribbon_button_group_widget.html">SARibbonButtonGroupWidget</a> *&#160;</td><td class="memItemRight" valign="bottom"><b>rightButtonGroup</b> () const</td></tr>
<tr class="separator:aa896e874ee74a719c54a28f16222fd9c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0f2f114e7f7d4776425280058ab0dbc3" id="r_a0f2f114e7f7d4776425280058ab0dbc3"><td class="memItemLeft" align="right" valign="top"><a id="a0f2f114e7f7d4776425280058ab0dbc3" name="a0f2f114e7f7d4776425280058ab0dbc3"></a>
QAbstractButton *&#160;</td><td class="memItemRight" valign="bottom"><b>applicationButton</b> () const</td></tr>
<tr class="separator:a0f2f114e7f7d4776425280058ab0dbc3"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pro-methods" name="pro-methods"></a>
Protected 成员函数</h2></td></tr>
<tr class="memitem:a67a10733bc25f8f994546a3abdc16262" id="r_a67a10733bc25f8f994546a3abdc16262"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#a67a10733bc25f8f994546a3abdc16262">resizeInLooseStyle</a> ()</td></tr>
<tr class="separator:a67a10733bc25f8f994546a3abdc16262"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1a85c0d16d90bed4cc30f6e5f743a69b" id="r_a1a85c0d16d90bed4cc30f6e5f743a69b"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#a1a85c0d16d90bed4cc30f6e5f743a69b">resizeInCompactStyle</a> ()</td></tr>
<tr class="separator:a1a85c0d16d90bed4cc30f6e5f743a69b"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<h2 class="groupheader">成员函数说明</h2>
<a id="a37d1f2a58ca16e23c1f0ab7ae0cc860f" name="a37d1f2a58ca16e23c1f0ab7ae0cc860f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a37d1f2a58ca16e23c1f0ab7ae0cc860f">&#9670;&#160;</a></span>calcMinTabBarWidth()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int SARibbonBarLayout::calcMinTabBarWidth </td>
          <td>(</td>
          <td class="paramname"><span class="paramname"></span></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>计算tabbar的最小尺寸 </p>
<p>此函数的作用是在tabbar居中布局时，tabbar不是占满整个宽度，而是按照最小尺寸来占据宽度，让tabbar的长度刚刚好， 这样能让出mainwindow的空间，接受鼠标事件，从而实现拖动等操作，否则tabbar占用整个顶栏，鼠标无法点击到mainwindow </p><dl class="section return"><dt>返回</dt><dd></dd></dl>

</div>
</div>
<a id="a64b765621914506fca97e41b910f2533" name="a64b765621914506fca97e41b910f2533"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a64b765621914506fca97e41b910f2533">&#9670;&#160;</a></span>categoryHeight()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int SARibbonBarLayout::categoryHeight </td>
          <td>(</td>
          <td class="paramname"><span class="paramname"></span></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>category的高度 </p>
<dl class="section return"><dt>返回</dt><dd></dd></dl>

</div>
</div>
<a id="ad2cbb793956c16a7491080ee4d2ce4f9" name="ad2cbb793956c16a7491080ee4d2ce4f9"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad2cbb793956c16a7491080ee4d2ce4f9">&#9670;&#160;</a></span>isTabOnTitle()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool SARibbonBarLayout::isTabOnTitle </td>
          <td>(</td>
          <td class="paramname"><span class="paramname"></span></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>设置tab在title上面，这样可以省略title区域 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">on</td><td></td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="a28f19a2a5831a9161b9f6df1495f974c" name="a28f19a2a5831a9161b9f6df1495f974c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a28f19a2a5831a9161b9f6df1495f974c">&#9670;&#160;</a></span>layoutCategory()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void SARibbonBarLayout::layoutCategory </td>
          <td>(</td>
          <td class="paramname"><span class="paramname"></span></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>让category重新布局 </p>
<p>这个函数在调整category的对其方式的时候调用，由于对其方式改变StackedContainerWidget的尺寸没有改变，但category要重新布局,因此需要发射一个 </p>

</div>
</div>
<a id="a1cd494a5db6b10a1e678675e2b5bfc78" name="a1cd494a5db6b10a1e678675e2b5bfc78"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a1cd494a5db6b10a1e678675e2b5bfc78">&#9670;&#160;</a></span>minimumModeMainBarHeight()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int SARibbonBarLayout::minimumModeMainBarHeight </td>
          <td>(</td>
          <td class="paramname"><span class="paramname"></span></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>最小模式下的高度 </p>
<dl class="section return"><dt>返回</dt><dd></dd></dl>

</div>
</div>
<a id="a3f975a980ee4f93067e468b1b8ac6d24" name="a3f975a980ee4f93067e468b1b8ac6d24"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a3f975a980ee4f93067e468b1b8ac6d24">&#9670;&#160;</a></span>normalModeMainBarHeight()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int SARibbonBarLayout::normalModeMainBarHeight </td>
          <td>(</td>
          <td class="paramname"><span class="paramname"></span></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>正常模式下的高度 </p>
<p>有可能SARibbonBar::height和mainBarHeight不相等，这种情况发生在RibbonState::MinimumRibbonMode状态下 </p><dl class="section return"><dt>返回</dt><dd>高度 </dd></dl>

</div>
</div>
<a id="aa576d4e07a8d9f8c583973aab1ff1ceb" name="aa576d4e07a8d9f8c583973aab1ff1ceb"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa576d4e07a8d9f8c583973aab1ff1ceb">&#9670;&#160;</a></span>pannelTitleHeight()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int SARibbonBarLayout::pannelTitleHeight </td>
          <td>(</td>
          <td class="paramname"><span class="paramname"></span></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><a class="el" href="#aa576d4e07a8d9f8c583973aab1ff1ceb" title="SARibbonBarLayout::pannelTitleHeight">SARibbonBarLayout::pannelTitleHeight</a> </p>
<dl class="section return"><dt>返回</dt><dd></dd></dl>

</div>
</div>
<a id="a1a85c0d16d90bed4cc30f6e5f743a69b" name="a1a85c0d16d90bed4cc30f6e5f743a69b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a1a85c0d16d90bed4cc30f6e5f743a69b">&#9670;&#160;</a></span>resizeInCompactStyle()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void SARibbonBarLayout::resizeInCompactStyle </td>
          <td>(</td>
          <td class="paramname"><span class="paramname"></span></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>&lt; 记录ribbonBar的最小宽度，这个用于给推荐宽度</p>
<ol type="1">
<li>布局corner widget - TopLeftCorner</li>
</ol>
<ol type="1">
<li>布局applicationButton</li>
</ol>
<ol type="1">
<li>布局corner widget TopRightCorner</li>
</ol>
<ol type="1">
<li>布局右边按钮组rightButtonGroup</li>
</ol>
<ol type="1">
<li>布局quick access bar</li>
</ol>
<p>6.布局 tab bar</p>

</div>
</div>
<a id="a67a10733bc25f8f994546a3abdc16262" name="a67a10733bc25f8f994546a3abdc16262"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a67a10733bc25f8f994546a3abdc16262">&#9670;&#160;</a></span>resizeInLooseStyle()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void SARibbonBarLayout::resizeInLooseStyle </td>
          <td>(</td>
          <td class="paramname"><span class="paramname"></span></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>&lt; 记录ribbonBar的最小宽度，这个用于给推荐宽度</p>
<ol type="1">
<li>布局corner widget</li>
</ol>
<ol type="1">
<li>布局quick access bar</li>
</ol>
<p>titleBar上的元素布局完成，开始布局第二行</p>
<ol type="1">
<li>布局 applicationButton</li>
</ol>
<ol type="1">
<li>布局TopRightCorner窗口 cornerWidget(Qt::TopRightCorner)是一定要配置的，对于多文档窗口，子窗口的缩放恢复按钮就是通过这个窗口实现， 由于这个窗口一定要在最右，因此先对这个窗口进行布局</li>
</ol>
<ol type="1">
<li>tabBar右边的附加按钮组rightButtonGroup，这里一般会附加一些类似登录等按钮组</li>
</ol>
<p>6.布局tabbar，此时已经确定了applicationButton的位置，以及最右边rightButtonGroup的位置，剩下的区域都给tabbar</p>

</div>
</div>
<a id="a767722d9814846315036cc65c5087add" name="a767722d9814846315036cc65c5087add"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a767722d9814846315036cc65c5087add">&#9670;&#160;</a></span>ribbonBar()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_s_a_ribbon_bar.html">SARibbonBar</a> * SARibbonBarLayout::ribbonBar </td>
          <td>(</td>
          <td class="paramname"><span class="paramname"></span></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>tab是否在title上面 </p>
<dl class="section return"><dt>返回</dt><dd></dd></dl>

</div>
</div>
<a id="a29bb46a56706132044866eb6134dd55b" name="a29bb46a56706132044866eb6134dd55b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a29bb46a56706132044866eb6134dd55b">&#9670;&#160;</a></span>setCategoryHeight()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void SARibbonBarLayout::setCategoryHeight </td>
          <td>(</td>
          <td class="paramtype">int</td>          <td class="paramname"><span class="paramname"><em>h</em></span></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>设置category的高度 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">h</td><td></td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="a53fc6debab105ad0659b1cbfa02ea753" name="a53fc6debab105ad0659b1cbfa02ea753"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a53fc6debab105ad0659b1cbfa02ea753">&#9670;&#160;</a></span>setPannelTitleHeight()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void SARibbonBarLayout::setPannelTitleHeight </td>
          <td>(</td>
          <td class="paramtype">int</td>          <td class="paramname"><span class="paramname"><em>h</em></span></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>设置pannel的高度 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">h</td><td></td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="a69930ff2702a2f5d01776fdfabe659d9" name="a69930ff2702a2f5d01776fdfabe659d9"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a69930ff2702a2f5d01776fdfabe659d9">&#9670;&#160;</a></span>setTabBarHeight()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void SARibbonBarLayout::setTabBarHeight </td>
          <td>(</td>
          <td class="paramtype">int</td>          <td class="paramname"><span class="paramname"><em>h</em></span></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>设置tabBar的高度 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">h</td><td></td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="a5a3eb39adadd997febb302b413a8239f" name="a5a3eb39adadd997febb302b413a8239f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a5a3eb39adadd997febb302b413a8239f">&#9670;&#160;</a></span>setTitleBarHeight()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void SARibbonBarLayout::setTitleBarHeight </td>
          <td>(</td>
          <td class="paramtype">int</td>          <td class="paramname"><span class="paramname"><em>h</em></span></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>设置标题栏的高度 </p>
<dl class="section see"><dt>参见</dt><dd><a class="el" href="#a23a931601012e42d7d74707d29a584a2" title="返回标题栏高度">titleBarHeight</a> </dd></dl>
<dl class="section note"><dt>注解</dt><dd>此操作会发射titleBarHeightChanged 信号 </dd></dl>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">h</td><td></td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="a6a382d42074c41b18807d0a13c9c42c1" name="a6a382d42074c41b18807d0a13c9c42c1"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a6a382d42074c41b18807d0a13c9c42c1">&#9670;&#160;</a></span>tabBarHeight()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int SARibbonBarLayout::tabBarHeight </td>
          <td>(</td>
          <td class="paramname"><span class="paramname"></span></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>tabBar的高度 </p>
<dl class="section return"><dt>返回</dt><dd></dd></dl>

</div>
</div>
<a id="a23a931601012e42d7d74707d29a584a2" name="a23a931601012e42d7d74707d29a584a2"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a23a931601012e42d7d74707d29a584a2">&#9670;&#160;</a></span>titleBarHeight()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int SARibbonBarLayout::titleBarHeight </td>
          <td>(</td>
          <td class="paramname"><span class="paramname"></span></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>返回标题栏高度 </p>
<dl class="section see"><dt>参见</dt><dd><a class="el" href="#a5a3eb39adadd997febb302b413a8239f" title="设置标题栏的高度">setTitleBarHeight</a> </dd></dl>
<dl class="section return"><dt>返回</dt><dd></dd></dl>

</div>
</div>
<hr/>该类的文档由以下文件生成:<ul>
<li>C:/src/Qt/SARibbon/src/SARibbonBar/<a class="el" href="_s_a_ribbon_bar_layout_8h_source.html">SARibbonBarLayout.h</a></li>
<li>C:/src/Qt/SARibbon/src/SARibbonBar/<b>SARibbonBarLayout.cpp</b></li>
</ul>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a class="el" href="class_s_a_ribbon_bar_layout.html">SARibbonBarLayout</a></li>
    <li class="footer">制作者 <a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.10.0 </li>
  </ul>
</div>
</body>
</html>
